package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by IntelliJ IDEA.
 * User: 许志民
 * Date: 2022-01-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements java.io.Serializable{

    private ObjectId id;
    //语音地址
    private String voiceUrl;
    //发送语音的用户
    private Long voiceUserId;
    //创建时间
    private Long created;

}
